package VN.EDU.IMIC.DEVELOPER.NGUYENVANTHIEN.ARRAY.DAODIEN2;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.border.TitledBorder;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JLabel;
import javax.swing.JTextField;
import com.toedter.calendar.JDateChooser;
import javax.swing.ImageIcon;
import javax.swing.JComboBox;
import javax.swing.DefaultComboBoxModel;
import javax.swing.UIManager;
import java.awt.Color;

public class XuLoiTinhToan extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_4;
	private JTextField textField_5;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					XuLoiTinhToan frame = new XuLoiTinhToan();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public XuLoiTinhToan() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 627, 489);
		contentPane = new JPanel();
		contentPane.setBorder(new TitledBorder(UIManager.getBorder("TitledBorder.border"), "X\u1EEC L\u00CD T\u00CDNH TO\u00C1N", TitledBorder.LEADING, TitledBorder.TOP, null, new Color(255, 0, 0)));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JButton btnNewButton = new JButton("M\u00E3 Sinh Vi\u00EAn: ");
		btnNewButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
		btnNewButton.setBounds(10, 31, 115, 23);
		contentPane.add(btnNewButton);
		
		JButton btnHVTn = new JButton("H\u1ECD V\u00E0 T\u00EAn : ");
		btnHVTn.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		btnHVTn.setBounds(10, 81, 115, 23);
		contentPane.add(btnHVTn);
		
		JButton btnGiiTnh = new JButton("Gi\u1EDBi T\u00EDnh  : ");
		btnGiiTnh.setBounds(10, 127, 115, 23);
		contentPane.add(btnGiiTnh);
		
		JButton btninThoi = new JButton("\u0110i\u1EC7n Tho\u1EA1i : ");
		btninThoi.setBounds(10, 234, 115, 23);
		contentPane.add(btninThoi);
		
		JButton btnSCmnd = new JButton("S\u1ED1 CMND : ");
		btnSCmnd.setBounds(10, 288, 115, 23);
		contentPane.add(btnSCmnd);
		
		JButton btnGhiDLiu_1 = new JButton("Ghi D\u1EEF li\u1EC7u v\u00E0o");
		btnGhiDLiu_1.setIcon(new ImageIcon(XuLoiTinhToan.class.getResource("/com/sun/java/swing/plaf/windows/icons/NewFolder.gif")));
		btnGhiDLiu_1.setBounds(304, 404, 128, 23);
		contentPane.add(btnGhiDLiu_1);
		
		JButton btnThmThngTin = new JButton("Th\u00EAm th\u00F4ng tin");
		btnThmThngTin.setIcon(new ImageIcon(XuLoiTinhToan.class.getResource("/javax/swing/plaf/metal/icons/ocean/homeFolder.gif")));
		btnThmThngTin.setBounds(442, 404, 141, 23);
		contentPane.add(btnThmThngTin);
		
		JButton btnGhiDLiu = new JButton("Ghi d\u1EEF li\u1EC7u n\u1ED1i ti\u1EBFp");
		btnGhiDLiu.setIcon(new ImageIcon(XuLoiTinhToan.class.getResource("/com/sun/java/swing/plaf/windows/icons/HardDrive.gif")));
		btnGhiDLiu.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		btnGhiDLiu.setBounds(140, 404, 154, 23);
		contentPane.add(btnGhiDLiu);
		
		textField = new JTextField();
		textField.setBounds(140, 32, 154, 22);
		contentPane.add(textField);
		textField.setColumns(10);
		
		textField_1 = new JTextField();
		textField_1.setColumns(10);
		textField_1.setBounds(140, 82, 443, 22);
		contentPane.add(textField_1);
		
		JButton btnNgySinh = new JButton("Ng\u00E0y Sinh : ");
		btnNgySinh.setBounds(10, 173, 115, 23);
		contentPane.add(btnNgySinh);
		
		JDateChooser dateChooser = new JDateChooser();
		dateChooser.setBounds(142, 173, 152, 23);
		contentPane.add(dateChooser);
		
		textField_2 = new JTextField();
		textField_2.setColumns(10);
		textField_2.setBounds(140, 235, 154, 22);
		contentPane.add(textField_2);
		
		JButton btnEmail = new JButton("Email : ");
		btnEmail.setBounds(313, 234, 73, 23);
		contentPane.add(btnEmail);
		
		textField_3 = new JTextField();
		textField_3.setColumns(10);
		textField_3.setBounds(401, 235, 182, 22);
		contentPane.add(textField_3);
		
		textField_4 = new JTextField();
		textField_4.setColumns(10);
		textField_4.setBounds(140, 289, 154, 22);
		contentPane.add(textField_4);
		
		JButton btnKtQu = new JButton("K\u1EBFt Qu\u1EA3 : ");
		btnKtQu.setBounds(10, 353, 115, 23);
		contentPane.add(btnKtQu);
		
		textField_5 = new JTextField();
		textField_5.setColumns(10);
		textField_5.setBounds(140, 332, 443, 64);
		contentPane.add(textField_5);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setModel(new DefaultComboBoxModel(new String[] {"Nam", "N\u1EEF", "KX\u0110"}));
		comboBox.setBounds(140, 128, 154, 23);
		contentPane.add(comboBox);
	}
}
